/*
 * Image.cpp
 * Represents an image in memory
 *
 * @version 	1.00 Feb 2011
 * @author 		Eric Stock
 */

#ifndef __ImageH
#define __ImageH

class Image
{
    //create a private copy constructor and private assignment operators
	//to prevent bitwise/shallow copies which may result in dangling pointers
		Image(Image& i);
		Image& operator=(Image& s);

	public:
		Image() {
			imageData = 0;			//initialize pointer to null
		};
		
		~Image() {			
			delete [] imageData;
		}
		
		unsigned int width;
        unsigned int height;
        unsigned char* imageData; 
};   
#endif 


